package trlygjj.tanruiliyigenjinjin.query;

import lombok.Getter;
import lombok.Setter;
import trlygjj.tanruiliyigenjinjin.util.StringUtil;

@Setter
@Getter
public class DepartmentQueryObject extends QueryObject {
    /*
    * 部门管理页面的关键字查询
    * */
    private String keyword;

    /*
    * 判断页面传入的关键字
    * */
    public String getKeyword() {
        return StringUtil.hasLength(keyword) ? keyword : null;
    }
}
